package com.zzl.springboot_mybatis_demo.entity.res;

import lombok.Data;

import java.io.Serializable;

/**
 * description: http请求返回的最外层对象
 * @author 朱正磊
 * @date 2019-10-13 22:39:31
 */
@Data
public class ResultVo<T> implements Serializable {

    private static final long serialVersionUID = -1458244858063945293L;

    /**
     * 错误码
     */
    private Integer code;

    /**
     * 提示信息
     */
    private String msg;

    /**
     * 具体内容
     */
    private T data;

}
